/*!
 * Jodit Editor (https://xdsoft.net/jodit/)
 * Released under MIT see LICENSE.txt in the project root for license information.
 * Copyright (c) 2013-2020 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
 */

// screen
@screen-xs: 480px;
@screen-sm: 768px;
@screen-md: 992px;
@screen-lg: 1200px;

@icon-tiny-size: 8px;
@icon-xsmall-size: 10px;
@icon-small-size: 12px;
@icon-middle-size: 14px;
@icon-large-size: 16px;

@color-background-selection: #b5d6fd;
@color-dark: #4c4c4c;
@color-white: #fff;

:root {
	--color-white: @color-white;
	--color-gray: #dadada;
	--color-gray-dark: #a5a5a5;
	--color-dark: @color-dark;

	--color-default: var(--color-dark);
	--color-text: #222222;

	--color-border: var(--color-gray);
	--color-border-dark: var(--color-dark);

	--color-border-selected: #1e88e5;
	--color-border-active: #b5b5b5;

	--color-selection: var(--color-dark);
	--color-selection-area: #bdbdbd;

	--color-separator: var(--color-border);
	--color-error: #f7d1d1;
	--color-placeholder: var(--color-gray-dark);
	--color-panel: #f9f9f9;
	--color-resizer: #c8c8c8;

	--color-background-default: var(--color-white);
	--color-background-gray: rvar(--color-gray);
	--color-background-gray-hover: #f8f8f8;
	--color-background-hover: #7a450f;
	--color-background-button-hover: #ecebe9;
	--color-background-button-hover-opacity30: rgba(236, 235, 233, 0.3);
	--color-background-progress: #b91f1f;
	--color-background-filebrowser-folders: #3f3f3f;
	--color-background-selection: @color-background-selection;
	--color-background-selection_opacity50: rgba(181, 214, 253, 0.5);

	--color-source-area: #323232;

	--color-button-background-hover: #dcdcdc;
	--color-button-background-hover_opacity40: rgba(220, 220, 220, 0.4);
	--color-button-background-hover_opacity60: rgba(220, 220, 220, 0.6);

	--font-default: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	--font-size-default: 14px;
	--font-size-small: 11px;

	--color-text-icons: rgba(0, 0, 0, 0.75);
	--color-icon: var(--color-dark);

	--padding-default: 8px;

	--border-radius-default: 3px;

	//z-index
	--z-index-full-size: 100000;
	--z-index-popup: 10000001;
	--z-index-tooltip: 10000002;
	--z-index-dialog-overlay: 20000003;
	--z-index-dialog: 20000004;
	--z-index-context-menu: 20000005;

	--icon-loader-size: 48px;

	--width_element_default: 18px;
	--height_element_default: 18px;

	// dark theme
	--dark_background_color: #575757;
	--dark_background_ligher: #787878;
	--dark_border_color: #444;
	--dark_text_color: #d1cccc;
	--dark_text_color_opacity80: rgba(209, 204, 204, 0.8);
	--dark_text_color_opacity50: rgba(209, 204, 204, 0.5);
	--dark_icon_color: #c0c0c0;
	--dark_toolbar_color: #5f5c5c;
	--dark_toolbar_seperator_color1: rgba(81, 81, 81, 0.41);
	--dark_toolbar_seperator_color2: #686767;
	--dark_toolbar_seperator_color_opacity80: rgba(104, 103, 103, 0.8);
	--dark_toolbar_seperator_color3: rgba(104, 103, 103, 0.75);
	--dark_color-border-selected: #152f5f;

	--width-default: 180px;
	--width-input-min: var(--width-default);

	--button-icon-size: @icon-middle-size;
	--margin-v: 2px;
	--button-size: calc(
		var(--button-icon-size) + (var(--button-icon-size) - 4px) * 2 +
			var(--margin-v) * 2
	);
}
